package com.party.core.dao.read.partner;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.partner.MemberPartnerPrivilege;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 合作商权限
 *
 * @author yifeng
 * @date 2018/8/7 0007
 * @time 下午 13:50
 */
@Repository
public interface MemberPartnerPrivilegeReadDao extends BaseReadDao<MemberPartnerPrivilege> {
    List<Map<String, String>> findByPartnerId(@Param("partnerId") String partnerId);

    List<Map<String, String>> findByMemberId(@Param("memberId") String memberId);
}
